package com.ymtms.costaccounting.pojo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class FinancialFee {

    private Integer ffid;

    @NotBlank(message = "财务费用项目名不能为空")
    private String financeFeeDetail;

    @NotNull(message = "财务费用金额不能为空")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Long financeFee;

    @NotNull(message = "支出日期不能为空!")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date payoutMonth;

    @NotNull(message = "填写日期不能为空!")
    private Date writeDate;

    private Integer flag;


}